Clicking a button a buttons brings up a movable modal dialog box for setting the number, string, or both. A single function call manages all activity for a dialog box for entering a single number or string, and there is a stack-based class for managing more complicated dialogs. See the file CNumStrWindow.cp to see the details of how this window is set up.